package com.pay.holder;

import java.util.Map;

/**
 * @author 周益和
 * @ClassName PayThreadInfoHolder
 * @qq 1552951165
 */
public class PayThreadInfoHolder {
    private static ThreadLocal<Map<String, String>> paramsThreadLocal = new ThreadLocal<>();
    
    public static void add(Map<String, String> params) {
        paramsThreadLocal.set(params);
    }
    
    public static Map<String, String> get() {
        return paramsThreadLocal.get();
    }
}
